import { createRouter, createWebHistory } from "vue-router";

import ToDoList from "../views/toDoList.vue";
import ExamplePage1 from "../views/examplePage1.vue";
import ExamplePage2 from "../views/examplePage2.vue";
import ExamplePage3 from "../views/examplePage3.vue";
import ExamplePage4 from "../views/examplePage4.vue";
import ExamplePage5 from "../views/examplePage5.vue";
import ExamplePage6 from "../views/examplePage6.vue";
import ExamplePage7 from "../views/examplePage7.vue";
import ExamplePage8 from "../views/examplePage8.vue";
import ExamplePage9 from "../views/examplePage9.vue";
import ExamplePage10 from "../views/examplePage10.vue";
import ExamplePage11 from "../views/examplePage11.vue";
import ExamplePage12 from "../views/examplePage12.vue";
import ExamplePage13 from "../views/examplePage13.vue";
const router = createRouter({
  history: createWebHistory(""),
  // history: createWebHistory('xiali'), // 历史模式
  // history:createWebHashHistory('xiali'), // 哈希模式
  routes: [
    {
      path: "/todolist",
      component: ToDoList,
    },
    {
      path: "/page1",
      component: ExamplePage1,
    },
    {
      path: "/page2",
      component: ExamplePage2,
    },
    {
      path: "/page3",
      component: ExamplePage3,
    },
    {
      path: "/page4",
      component: ExamplePage4,
    },
    {
      path: "/page5",
      component: ExamplePage5,
    },
    {
      path: "/page6",
      component: ExamplePage6,
    },
    {
      path: "/page7",
      component: ExamplePage7,
    },
    {
      path: "/page8",
      component: ExamplePage8,
    },
    {
      path: "/page9",
      component: ExamplePage9,
    },
    {
      path: "/page10",
      component: ExamplePage10,
    },
    {
      path: "/page11",
      component: ExamplePage11,
    },
    {
      path: "/page12",
      component: ExamplePage12,
    },
    {
      path: "/page13",
      component: ExamplePage13,
    },
  ],
});
export default router;
